﻿using System.Runtime.Serialization;

namespace TheVerge.Base {
	[DataContract]
	public class APIResponse<T> {

		[DataMember(Name = "count")]
		public int Count { get; set; }

		[DataMember(Name = "current_page")]
		public int CurrentPage { get; set; }
		
		[DataMember(Name = "entries")]
		public T[] Entries { get; set; }

		[DataMember(Name = "total_pages")]
		public int TotalPages { get; set; }
	}
}
